package lab02.test25;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        System.out.println("请输入您想要相除的两个数：");
        Scanner scanner=new Scanner(System.in);
        int a=scanner.nextInt();
        int b=scanner.nextInt();
        try{
            System.out.println(a/b);
        }catch (ArithmeticException e){
            System.out.println("除数为零");
        }
    }
}
